<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
 					<div class="responsive">
                        <div class="row cl" role="grid">
                            <div class="col-xs-12">
                                <div class="panel shadow bgc-red panel-default mt-20 radius ">
                                    <div class="panel-body ">
                                        <div class="f-18">
	                                         <div class="responsive">
						                        <div class="row cl" role="grid">
						                            <div class="col-xs-6">
			                                             <strong class="c-blue ml-20">
				                                             <c:forEach items="${voteLabelList}" var="curVoteLabel">
				                                                 <a href="${ctx}/search/result?labelId=${curVoteLabel.labelId}" target="_blank">${curVoteLabel.tLabel.name}</a>
				                                             </c:forEach>
			                                             </strong>
						                            </div>
						                            <div class="col-xs-6" id="jiathis">
			                                             <!-- jiathis share -->
			                                            <div class="f-r">
			                                          		  <%@include file="../common/common_share.jsp"%>
														</div>  
						                            </div>
						                         </div>
						                     </div>
                                            <div class="line mt-10 mb-10"></div>
                                            <span>&nbsp&nbsp&nbsp&nbsp${fn:escapeXml(vote.desc)}
                                            </span>
                                            <div class="line mt-20"></div>
                                            <form  method="post" class="form form-horizontal responsive" id="defaultForm">
                                           		 <input type="hidden"   name="id" value="${vote.id}"/>
                                                <div class="row cl" >
                                                    <div class="formControls skin-minimal col-xs-1"></div>
                                                    <div class="formControls skin-minimal col-xs-8" id="voteItems" >
                                                   		 <!-- 未投票 -->
	                                                    <c:if test="${not hasvote}">
		                                                    <c:if test="${vote.isRadio==1}">
		                                                    	<c:forEach items="${voteItemList}" var="voteItem" varStatus="status">
			                                                        <div class="radio-box mb-10">
			                                                            <input type="radio" id="item-${status.index}" name="voteItemIds" datatype="*" nullmsg="请选择！" value="${voteItem.id}">
			                                                            <label for="item-${status.index}">${fn:escapeXml(voteItem.content)}</label>
			                                                        </div>
			                                                        <br/>
		                                                    	</c:forEach>
		                                                    </c:if>
		                                                    <c:if test="${vote.isRadio!=1}">
		                                                    	<c:forEach items="${voteItemList}" var="voteItem" varStatus="status">
			                                                        <div class="radio-box mb-10">
			                                                            <input type="checkbox" id="item-${status.index}" name="voteItemIds" datatype="*" nullmsg="请选择！" value="${voteItem.id}">
			                                                            <label for="item-${status.index}">${fn:escapeXml(voteItem.content)}</label>
			                                                        </div>
			                                                        <br/>
		                                                    	</c:forEach>
		                                                    </c:if>
		                                                  </c:if>
		                                                    <!-- 已经投票 -->
	                                                     <c:if test="${hasvote}">
		                                                    <c:forEach items="${voteItemList}" var="voteItem" varStatus="status">
		                                                   		${status.index+1}、${fn:escapeXml(voteItem.content)}
			                                                    <div class="skillbar clearfix " data-percent="${voteItem.userPrecent}">
												              		<div class="skillbar-bar"></div>
												              		<div class="skill-bar-percent">${voteItem.userPrecent}</div>
											              		</div> 
		                                                    </c:forEach>
	                                                    </c:if>
                                                    </div>
                                                    <div class="col-xs-3" id="votevalidate"> </div>
                                                </div>
                                                <div class="line mt-20"></div>
                                                <div class="row cl">
                                                    <div class="col-xs-8 col-xs-offset-2"  data-id="${vote.id}">
                                                    <a class="btn btn-secondary" href="${ctx}/vote/add" target="_blank">&nbsp;增&nbsp;</a>
                                                    <c:if test="${not knockDone}">
                                                        <input class="btn btn-success" id="supportBtn" type="button" value="&nbsp;赞&nbsp;"/>
                                                        <input class="btn btn-danger"  id="objectBtn" type="button" value="&nbsp;踩&nbsp;"/>
                                                    </c:if>
                                                        <input class="btn btn-secondary  <c:if test="${not hasvote}">disabled</c:if> "  id="changeBtn" type="button" value="&nbsp;切&nbsp;"/>
                                                    </div>
                                                    <div class="col-xs-2"  >
                                                   		 <c:if test="${not hasvote}">
                                                       		 <input  class="btn btn-primary size-L mt-5 f-r" type="submit" id="submitBtn" value="&nbsp;&nbsp;提交&nbsp;&nbsp;"/>
                                                  		 </c:if>
                                                    </div>
                                                </div>
                                            </form>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                  